package com.qumitech.visualnovel.datasource.editor;

import java.util.*;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.apache.ibatis.annotations.MapKey;
import org.springframework.stereotype.Repository;
import com.qumitech.visualnovel.model.dao.editor.BookInfoDAO;

@Repository
public interface BookInfoDAOMapper {
    int deleteByPrimaryKey(Long id);

    int insert(BookInfoDAO record);

    int insertSelective(BookInfoDAO record);

    BookInfoDAO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(BookInfoDAO record);

    int updateByPrimaryKey(BookInfoDAO record);

    BookInfoDAO selectRecord(@Param("bookId") Long bookId);
}